#include<iostream>
using namespace std;
inline int fast_exp(int b, int n)
{
    int res = 1;
    do
    {
        res *= n%2 ? b:1;
        b*=b;
    } while (n/=2);

    return res;
}

int main(int argc, char const *argv[])
{
    int res = fast_exp(5,11);
    cout<<res<<"\n";
    return 0;
}
